#include<stdio.h>
#include<stdlib.h>
#include<signal.h>


int main(int argc, char *argv[]) {
	if (argc != 2) {
		printf("Usage ./proc_killer pid");
		return 1;
		
	}

	pid_t pid = atoi(argv[1]);

	if (pid == 0) {
		printf("error: %s is not a number\n");
		return 2;
	}
	
	kill(pid, SIGKILL);
	return 0;
}
	

